<%@page import="jdk.nashorn.internal.ir.RuntimeNode.Request"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<p>注意：这里的enctype(编码类型)是“multipart/form-data”</p>
 <p>文件以及图片上传</p>
 <!-- 
 
  <p>上传到绝对路径</p>
	<form action="PictureServer" method="post"
		enctype="multipart/form-data">
		图片以及文件上传：<input type="file" name="fileupload" /> 描述：<input type="text"
			name="desc" /> <input type="submit" value="submit" />
	</form>	
	-->
	<!--	  -->
	 <p>上传到相对路径</p>
	<form action="PictureServerRelative" method="post"
		enctype="multipart/form-data" >
		图片以及文件上传：<input type="file" name="fileupload" /> 描述：<input type="text"
			name="desc" /> <input type="submit" value="submit" />
	</form>
	<hr/>
	
	<form action="PictureServerOrderIETwo" method="post"
		enctype="multipart/form-data" >
		图片以及文件上传：<input type="file" name="fileupload" /> 描述：<input type="text"
			name="desc" /> <input type="submit" value="submit" />
	</form>
	
	<!-- 
	<form action="<%= request.getContextPath() %>/Resource/uploadReosurce" method="post"
		enctype="multipart/form-data" >
		图片以及文件上传：<input type="file" name="fileupload" /> 描述：<input type="text"
			name="desc" /> 
			<input type="hidden" name="rid" value="1"/>
			<input type="submit" value="submit" />
	</form>
	
	 -->
	  	<!--	
	  <img name= "oneImg" src="http://www.w3school.com.cn/i/eg_chinarose.jpg">
	  
	  <hr/>
	  <img name= "threeImg" src="<%= request.getContextPath() %>\WEB-INF\upload\6e8f7b8458cd4aabb3fdff75a076bf08.png">
	  <hr/>
	    -->
</body>
</html>